<?php
/**
 * 商品分类
 *
 * @author karl <karl.tang@aiyuangong.com>
 * @link http://www.aiyuangong.com
 */
namespace app\admin\controller\type;

use app\admin\controller\system\Item;
use think\Db;
use think\Exception;

class GoodsClass extends Item
{

    protected $tag = 'goods_class';
    
    // 层级
    protected $level = 2;
    
    // 黑名单方法，禁止访问某些方法
    protected static $blacklist = [];
    
    // 列表字段
    protected $row = [
        'id',
        'name',
        'tag',
        'remark',
        'sort'
    ];

    protected $title = [
        'name' => '分类名称',
        'tag' => '标识',
        'remark' => '备注'
    ];
}